package com.bootdo.program.shejiao.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.program.shejiao.dao.MTakeNoteDao;
import com.bootdo.program.shejiao.domain.MTakeNoteDO;


@Service
public class MTakeNoteService{
	@Autowired
	private MTakeNoteDao mTakeNoteDao;
	
	
	public MTakeNoteDO get(Long id){
		return mTakeNoteDao.get(id);
	}
	
	
	public List<MTakeNoteDO> list(Map<String, Object> map){
		return mTakeNoteDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return mTakeNoteDao.count(map);
	}
	
	
	public int save(MTakeNoteDO mTakeNote){
		return mTakeNoteDao.save(mTakeNote);
	}
	
	
	public int update(MTakeNoteDO mTakeNote){
		return mTakeNoteDao.update(mTakeNote);
	}
	
	
	public int remove(Long id){
		return mTakeNoteDao.remove(id);
	}
	
	
	public int batchRemove(Long[] ids){
		return mTakeNoteDao.batchRemove(ids);
	}
	
}
